﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Pacocation
{
    class Pontuacao
    {
        SpriteFont pontuacao2;
        public int pontos = 0;

         public Pontuacao (ContentManager Content)
        {
            pontuacao2 = Content.Load<SpriteFont>("pontuacao");
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.DrawString(pontuacao2, pontos.ToString() , new Vector2(100, 260), Color.Black);
            spriteBatch.End();
        }
    }
}
